package com.punai.monthanalysis.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import com.punai.common.utils.Decimal2Serializer;
import com.punai.common.utils.Decimal3Serializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 工程阶段成本考核数据分析对象 pro_ydcbfx_gcjdcbkhsjfxb
 *
 * @author zxw_
 * @date 2023-04-19
 */
public class ProYdcbfxGcjdcbkhsjfxb extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 工程ID
     */
    @Excel(name = "工程ID")
    private String proId;

    private String pid;
    /**
     * 期次
     */
    @Excel(name = "期次")
    private String qc;

    /**
     * 工程名称
     */
    @Excel(name = "工程名称")
    private String gcName;
    /**
     * 项目部
     */
    @Excel(name = "项目部")
    private String gcDept;
    /**
     * 项目名称
     */
    @Excel(name = "项目名称")
    private String itemName;
    /**
     * 承包指标
     */
    @Excel(name = "承包指标")
    private String cbzb;
    /**
     * 建筑面积
     */
    @Excel(name = "建筑面积")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal jzmj;
    /**
     * 预算
     */
    @Excel(name = "预算")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal ys;
    /**
     * 实际
     */
    @Excel(name = "实际")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal sj;
    /**
     * 节超额
     */
    @Excel(name = "节超额")
    @JsonSerialize(using = Decimal3Serializer.class)
    private BigDecimal jce;
    /**
     * 节超率
     */
    @Excel(name = "节超率")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal jcl;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getQc() {
        return qc;
    }

    public void setQc(String qc) {
        this.qc = qc;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProId() {
        return proId;
    }

    public void setGcName(String gcName) {
        this.gcName = gcName;
    }

    public String getGcName() {
        return gcName;
    }

    public void setGcDept(String gcDept) {
        this.gcDept = gcDept;
    }

    public String getGcDept() {
        return gcDept;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setCbzb(String cbzb) {
        this.cbzb = cbzb;
    }

    public String getCbzb() {
        return cbzb;
    }

    public void setJzmj(BigDecimal jzmj) {
        this.jzmj = jzmj;
    }

    public BigDecimal getJzmj() {
        return jzmj;
    }

    public void setYs(BigDecimal ys) {
        this.ys = ys;
    }

    public BigDecimal getYs() {
        return ys;
    }

    public void setSj(BigDecimal sj) {
        this.sj = sj;
    }

    public BigDecimal getSj() {
        return sj;
    }

    public void setJce(BigDecimal jce) {
        this.jce = jce;
    }

    public BigDecimal getJce() {
        return jce;
    }

    public void setJcl(BigDecimal jcl) {
        this.jcl = jcl;
    }

    public BigDecimal getJcl() {
        return jcl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("proId", getProId())
                .append("gcName", getGcName())
                .append("gcDept", getGcDept())
                .append("itemName", getItemName())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("cbzb", getCbzb())
                .append("jzmj", getJzmj())
                .append("ys", getYs())
                .append("sj", getSj())
                .append("jce", getJce())
                .append("jcl", getJcl())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
